//
//  popsortView.h
//  garbageclient
//
//  Created by Wang Wu on 11-8-10.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol popsortViewDelegate

-(void)sortby:(int)sorttype;

@end

@interface popsortView : UIView {
    UIButton            *garbagebtn;
    UIButton            *popularbtn;
    UIButton            *newbtn;
    UIButton            *cancelbtn;
    
    int                 isorttype;
}

@property(nonatomic, assign) NSObject<popsortViewDelegate> * delegate;   

-(void)setSortType:(int) tp;

@end
